namespace PersistenceObject.Framework
{
    using System;

    [AttributeUsage(AttributeTargets.Property)]
    public class KeyFieldAttribute : BaseFieldAttribute
    {
        public KeyFieldAttribute(string columnName) : base(columnName)
        {
        }

        public UniqueIDType KeyType
        {
            get
            {
                return this.pkType;
            }
            set
            {
                this.pkType = value;
            }
        }

        private UniqueIDType pkType;
    }
}

